package bo.zhao.action.singleton;

public class SingletonTest {

	public static void main(String[] args) {
		
		//调用多次，确认是否为同一实例
		
		Engine.getInstance1().run();
		Engine.getInstance1().run();
		Engine.getInstance1().run();
		
		//
		Engine.getInstance2().run();
		Engine.getInstance2().run();
		Engine.getInstance2().run();
		
		//
		Engine.getInstance3().run();
		Engine.getInstance3().run();
		Engine.getInstance3().run();
	}
	
}
